package lab01;

/**
 * Created by Administrator on 2017/10/8.
 */
public class Test06ifelse {
    public static void main(String[] args) {
        int i=3;
        if (i==1)
        {
            System.out.println("不及格");
        }
        else if (i==2)
        {
            System.out.println("及格");
        }
        else if (i==3)
        {
            System.out.println("中等");
        }
        else if (i==4)
        {
            System.out.println("良好");
        }
        else {
            System.out.println("优秀");
        }

    }
}
